import request from "@/utils/request.js";
export default{
	updatePassword(params) {
		return request({
			url: 'system/user/profile/updatePwd',
			method: 'put',
			data: params
		})
	},
	updatePayPassword(params) {
		return request({
			url: 'system/user/profile/updatePayPwd',
			method: 'put',
			data: params
		})
	},
	getUserInfo() {
		return request({
			url: 'getInfo',
			method: 'get',
		})
	},
	scoreList(params) {
		return request({
			url: 'user/score/list',
			method: 'get',
			data: params
		})
	},
	scoreBalance(params) { // 用户余额查询
		return request({
			url: 'user/score/scoreBalance',
			method: 'get',
			data: params
		})
	},
	recommendReward() { // 用户余额查询
		return request({
			url: 'user/score/recommendReward',
			method: 'GET'
		})
	},
	statisticsByDirectType() { // 用户余额查询
		return request({
			url: 'user/score/statisticsByDirectType',
			method: 'GET'
		})
	},
	statisticsByCommunityType() { // 用户余额查询
		return request({
			url: 'user/score/statisticsByCommunityType',
			method: 'GET'
		})
	},
	directUserReward() { // 用户余额查询
		return request({
			url: 'user/score/directUserReward',
			method: 'GET'
		})
	},
	invite() { // 社区
		return request({
			url: 'project/charge/invite',
			method: 'GET'
		})
	},
}